package com.thf.util;

public class ResultTool {
    public static final Integer CODE_SUCCES = 0;
    public static final Integer CODE_ERROR = 1;
    public static final Integer CAPTCHA_CODE_ERROR = 2;
    public static final Integer PHONE_CODE_ERROR = 3;
    public static final Integer LOGIN_CODE_ERROR = 4;
    public static final Integer EXCEPTION_CODE_ERROR = 5;
    public static final String LOGIN_CODE_ERROR_MSG = "未登录用户，请重新登录";
    public static final String PHONE_CODE_ERROR_MSG = "登录短信验证码错误";
    public static final String CAPTCHA_CODE_ERROR_MSG = "登录图形验证码错误";
    public static final String ERROR_CODE_MSG = "请求失败";
    public static final String SUCCES_CODE_MSG = "请求成功";
    public static final String CODE_ERROR_MSG = "查询失败";
    public static final String CODE_SUCCES_MSG = "查询成功";
    public static final String CODE_ADD_ERROR_MSG = "新增失败";
    public static final String CODE_ADD_SUCCES_MSG = "新增成功";
    public static final String CODE_DEL_ERROR_MSG = "删除失败";
    public static final String CODE_DEL_SUCCES_MSG = "删除成功";
    public static final String CODE_ID_ERROR_MSG = "查询用户信息失败";
    public static final String CODE_ID_SUCCES_MSG = "查询用户信息成功";
    public static final String CODE_UPDATE_ERROR_MSG = "编辑失败";
    public static final String CODE_UPDATE_SUCCES_MSG = "编辑成功";
    public static final String CODE_PRODUCT_ID_ERROR_MSG = "查询产品信息失败";
    public static final String CODE_PRODUCT_ID_SUCCES_MSG = "查询产品信息成功";
    public static final String CODE_NEW_ID_ERROR_MSG = "查询新闻信息失败";
    public static final String CODE_NEW_ID_SUCCES_MSG = "查询新闻信息成功";
}
